package com.hn.gege.sys.modules.sys.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 动态查询
 */
public interface QueryDynamicMapper {


    @Select("select ${textName} from ${tableName} where ${codeName} = #{key}")
    String queryTableDictTextByKey(@Param("tableName") String tableName, @Param("textName") String textName, @Param("codeName") String codeName, @Param("key") String key);
}
